﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using TrainingsApp.WebModel;
using TrainingsApp.WebModel.Route;

namespace TrainingsApp.IPADApp {
    public partial class Success : AccountPage {
        public override bool IsAuthenticated {
            get {
                return false;
            }
        }


        protected void Page_Load(object sender, EventArgs e) {
            if (Code.Equals(SuccessCode.ForgetSuccess)) {
                pnlSuccess.Visible = false;
                pnlForget.Visible = true;
            }
        }



        public string Code { get { return ZJFramework10.Utility.QueryStringManager.GetValue<string>("code"); } }

        public override WebModel.Other.AccountMenuType MenuType {
            get { return WebModel.Other.AccountMenuType.Public; }
        }
    }
}